﻿using System;

/// <summary>
/// 类库文件一般用来纯写逻辑或者纯写算法的
/// </summary>
namespace Tool
{
    public class StringUtil
    {

        public static bool IsEmpty(string value)
        {
            if (value == null) 
            {
                return true;
            }
            return value.Length == 0;
        }

        public static bool IsNotEmpty(string value)
        {
            return !StringUtil.IsEmpty(value);
        }

    }

    public class NumberUtil
    {

        public static int Add(int a, int b)
        {
            return a + b;
        }

    }

}
